<template>
  <div class="container">
    <header>
      <h1>英语单词听写工具</h1>
      <p class="subtitle">提升英语听力和拼写能力的好帮手</p>
    </header>
    <div class="main-content">
      <UploadSection />
      <DictationSection />
      <SettingsSection />
    </div>
  </div>
</template>

<script setup lang="ts">
import UploadSection from './components/UploadSection.vue'
import DictationSection from './components/DictationSection.vue'
import SettingsSection from './components/SettingsSection.vue'
</script>

<style>
@import './styles/global.css';

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Microsoft YaHei', Arial, sans-serif;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 100vh;
  padding: 20px;
  color: #333;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  background: white;
  border-radius: 20px;
  box-shadow: 0 25px 50px rgba(0,0,0,0.2);
  overflow: hidden;
}

header {
  background: linear-gradient(90deg, #4b6cb7, #182848);
  color: white;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

h1 {
  font-size: 2.8em;
  margin-bottom: 10px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.subtitle {
  font-size: 1.2em;
  opacity: 0.9;
}

.main-content {
  display: flex;
  flex-wrap: wrap;
  min-height: 600px;
}
</style>